#ifndef JOBDETAILDLG_H
#define JOBDETAILDLG_H

#include "Entity/DictData.h"
#include "api/systemMonitor/timedtaskmanagerapi.h"
#include <QDialog>

namespace Ui {
class JobDetailDlg;
}

class JobDetailDlg : public QDialog
{
    Q_OBJECT

public:
    explicit JobDetailDlg(QString id,QList<DictData> sys_job_group,QWidget *parent = nullptr);
    ~JobDetailDlg();

private slots:
    void on_btn_close_clicked();

private:
    Ui::JobDetailDlg *ui;
    QString id;
    TimedTaskManagerApi api;
    QList<DictData> sys_job_group;

    void init();
};

#endif // JOBDETAILDLG_H
